package com.newasia.server.dal.persistence;

import com.newasia.server.dal.entitys.MonitorDetail;
import com.newasia.server.dal.entitys.MonitorDetailExample;
import com.newasia.server.dal.entitys.MonitorDetailWithBLOBs;
import java.util.List;

import com.newasia.server.dal.entitys.returnValue.MonitorState;
import org.apache.ibatis.annotations.Param;

public interface MonitorDetailMapper {
    long countByExample(MonitorDetailExample example);

    int deleteByExample(MonitorDetailExample example);

    int deleteByPrimaryKey(Long monitorDetailId);

    int insert(MonitorDetailWithBLOBs record);

    int insertSelective(MonitorDetailWithBLOBs record);

    List<MonitorDetailWithBLOBs> selectByExampleWithBLOBs(MonitorDetailExample example);

    List<MonitorDetail> selectByExample(MonitorDetailExample example);

    MonitorDetailWithBLOBs selectByPrimaryKey(Long monitorDetailId);

    int updateByExampleSelective(@Param("record") MonitorDetailWithBLOBs record, @Param("example") MonitorDetailExample example);

    int updateByExampleWithBLOBs(@Param("record") MonitorDetailWithBLOBs record, @Param("example") MonitorDetailExample example);

    int updateByExample(@Param("record") MonitorDetail record, @Param("example") MonitorDetailExample example);

    int updateByPrimaryKeySelective(MonitorDetailWithBLOBs record);

    int updateByPrimaryKeyWithBLOBs(MonitorDetailWithBLOBs record);

    int updateByPrimaryKey(MonitorDetail record);

    MonitorDetail selectBySid(@Param("sid") String sid);

    MonitorDetail selectByMonitorId(@Param("monitorId") Long monitorId);
}